package com.hex.ds.hdtp.core.app.script.test.service;

import com.hex.ds.hdtp.core.app.common.service.IBasicService;
import com.hex.ds.hdtp.core.app.script.test.dto.request.ScriptDataTestResultRequestDto;
import com.hex.ds.hdtp.core.app.script.test.dto.response.ScriptDataTestResultResponseDto;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.app.script.test.service
 * @ClassName IScriptDataTestResultService
 * @Description: 带数据测试脚本结果-业务接口
 * @Author: wz.li
 * @Date 2023/8/7 12:01
 * @Version v2.0.2
 **/
public interface IScriptDataTestResultService extends IBasicService<ScriptDataTestResultRequestDto> {

    /*
     * @Method: queryList <br>
     * @Param: [batchCode, taskPkId] <br>
     * @Return: java.util.List<com.hex.ds.hdtp.core.app.script.test.dto.response.ScriptDataTestResultResponseDto> <br>
     * @Description：不分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/8/7 15:15 <br>
     * @Version： V2.0.2<br>
     */
    List<ScriptDataTestResultResponseDto> queryList(String batchCode, String taskPkId);

    /**
     * @Method downloadFile
     * @param scriptDataTestResultRequestDto
     * @Return java.lang.String
     * @Description 带数据测试结果-下载脚本文件
     * @Author Yin.Yang
     * @Date 2023/10/20 14:20
     * @Version V1.0
     */
    String downloadScriptFile(ScriptDataTestResultRequestDto scriptDataTestResultRequestDto);

}
